Atum\Integrations\Wpml D

Total Complexity 134
Dependencies 9
Dependents 1
Total lines 1,194
Lines of code 511
Logical lines of code 289
Comment lines 398
Methods 33
Properties 7

Methods 33

Method Rating Maintainability Complexity Lines of code
upgrade()
B
34 21 86
update_multicurrency_translations_data()
A
45 15 40
add_custom_sale_price()
A
50 8 27
update_atum_data()
S
48 6 33
remove_language_switcher()
S
62 8 9
get_original_product_id()
S
51 6 25
add_custom_regular_price()
S
53 6 21
load_wpml_product()
S
58 5 15
delete_atum_data()
S
55 4 18
icl_make_duplicate()
S
59 4 14
register_hooks()
S
49 3 28
get_product_translations_ids()
S
62 4 11
wpml_sanitize_purchase_price_in_custom_prices()
S
64 4 9
add_custom_purchase_price()
S
60 3 13
save_translations_purchase_price()
S
62 3 11
change_multi_currency_meta_where()
S
55 2 20
duplicate_atum_product()
S
56 2 18
update_translations_data()
S
64 3 9
skip_translations()
S
65 3 9
hide_multilingual_content_setup_box()
S
71 3 5
get_lang_currency()
S
66 3 8
get_products_translations_ids()
S
63 3 10
__construct()
S
60 2 14
register_atum_order_hooks()
S
60 2 12
add_custom_prices_arg()
S
69 2 6
wpml_save_purchase_price_in_custom_prices()
S
72 2 5
wpml_add_purchase_price_to_custom_prices()
S
77 1 4
select_add_icl_translations()
S
71 1 6
where_add_icl_translations()
S
77 1 4
unmanaged_products_where()
S
66 1 9
wpml_add_purchase_price_to_custom_price_labels()
S
75 1 4
prevent_deleting_product_translations_meta()
S
75 1 4
filter_get_all_products()
S
76 1 4